#  Copyright (c) 2021
#  User:SDUFE-Zhaocheng Lu
#  File:more.py
#  Date:2021/08/21 08:35:21
import sys
from main import main_func
from get_user_data import get_user_data

if __name__ == '__main__':
    success_list = []
    error_list = []
    pass_list = []
    ids = ','.join(["\'" + item + "\'" for item in sys.argv[1:]])
    usr_data_list = get_user_data("study_id in (%s)" % ids)
    for usr_data in usr_data_list:
        print(usr_data['school_id'])
        main_func(usr_data)
